<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui" template="ui.xhtml">
	<ui:define name="head">
		<style type="text/css">
			.ui-confirm-dialog-severity {
				margin: 0 7px 7px 0;
			}
		</style>
	</ui:define>
	<ui:define name="content">
		<p:panel>
			<h:form>
				<p:panel id="pnl" header="#{msg.panel_sysinfo}"
					footer="Datos del sistema" toggleable="true" closable="false"
					toggleSpeed="500" closeSpeed="500" widgetVar="panel">
					<h:panelGrid columns="4" style="margin-bottom:10px; width: 500px;">
						<h:outputLabel value="#{msg.label_system}:" />
						<h:outputLabel value="" />
						<h:outputLabel value="#{msg.label_date}:" />
						<h:outputLabel value="#{SystemInformationBean.date}" />
						<h:outputLabel value="#{msg.label_user}" />
						<h:outputLabel value="" />
						<h:outputLabel value="#{msg.label_database}:" />
						<h:outputLabel value="" />
					</h:panelGrid>
				</p:panel>
				<h:panelGrid columns="3" style="margin-bottom:10px; width: 100%;">
					<p:panel id="pnl1" footer="Links de configuracion"
						toggleable="true" closable="false" toggleSpeed="500"
						closeSpeed="500" widgetVar="panel1">
						<f:facet name="header">
							<h:graphicImage value="../img/icon/cog.png" />
							#{msg.menu_config}
						</f:facet>
						<p:menu>
							<p:menuitem value="#{msg.link_install}" url="install.faces" />
							<p:menuitem value="#{msg.link_storage}" url="storage.faces" />
							<p:menuitem value="#{msg.link_webservice}" url="web.faces" />
							<p:menuitem value="#{msg.link_style}" url="style.faces" />
							<p:menuitem value="#{msg.link_language}" url="lenguage.faces" />
							<p:menuitem value="#{msg.link_security}" url="security.faces" />
							<p:menuitem value="#{msg.link_database}" url="database.faces" />
							<p:menuitem value="#{msg.link_typefile}" url="typeFile.faces" />
							<p:menuitem value="#{msg.link_organizations}"
								url="organizations.faces" />
						</p:menu>
					</p:panel>
					<p:panel id="pnl2" footer="Links de grupos y usuarios"
						toggleable="true" closable="false" toggleSpeed="500"
						closeSpeed="500" widgetVar="panel2">
						<f:facet name="header">
							<h:graphicImage value="../img/icon/group.png" />
							#{msg.menu_usergroup}
						</f:facet>
						<p:menu>
							<p:menuitem value="#{msg.link_ldapuser}" url="ldap.faces" />
							<p:menuitem value="#{msg.link_users}" url="users.faces" />
							<p:menuitem value="#{msg.link_groups}" url="groups.faces" />
							<p:menuitem value="#{msg.link_signature}" url="signature.faces" />
							<p:menuitem value="#{msg.link_properties}" url="properties.faces" />
							<p:menuitem value="#{msg.link_profile}" url="profile.faces" />
						</p:menu>
					</p:panel>
					<p:panel id="pnl3" footer="Links de repositorios y expedientes"
						toggleable="true" closable="false" toggleSpeed="500"
						closeSpeed="500" widgetVar="panel3">
						<f:facet name="header">
							<h:graphicImage value="../img/icon/server.png" />
							#{msg.menu_repositories}
						</f:facet>
						<p:menu>
							<p:menuitem value="#{msg.menu_repositories}"
								url="repositories.faces" />
							<p:menuitem value="#{msg.link_records}" url="#" />
							<p:menuitem value="#{msg.link_catalogs}" url="#" />
						</p:menu>
					</p:panel>
					<p:panel id="pnl4" footer="Links de grupos y usuarios"
						toggleable="true" closable="false" toggleSpeed="500"
						closeSpeed="500" widgetVar="panel4">
						<f:facet name="header">
							<h:graphicImage value="../img/icon/tracing.png" />
							#{msg.menu_tracing}
						</f:facet>
						<p:menu>
							<p:menuitem value="#{msg.link_catalogs}" url="#" />
							<p:menuitem value="#{msg.link_servicesmtp}" url="#" />
							<p:menuitem value="#{msg.link_creation}" url="#" />
							<p:menuitem value="#{msg.link_profile}" url="#" />
							<p:menuitem value="#{msg.link_flowstates}" url="#" />
							<p:menuitem value="#{msg.link_reports}" url="#" />
							<p:menuitem value="#{msg.link_notifiers}" url="#" />
						</p:menu>
					</p:panel>
				</h:panelGrid>
			</h:form>
		</p:panel>
		<p:confirmDialog header="Oooops!!!" severity="alert"
			visible="#{not empty param['expired']}" message="View has expired."
			widgetVar="confirmDlg">
			<p:commandButton type="button" value="OK" onclick="confirmDlg.hide()" />
		</p:confirmDialog>
	</ui:define>
</ui:composition>